FROM python:3.11.1-slim
FROM postgres
FROM ubuntu

WORKDIR /app

COPY . /app

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

RUN apt update -y && apt install python3-pip -y && pip3 install --upgrade pip && pip3 install --upgrade -r /app/requirements.txt

CMD ["bash", "start.sh"]
